/**
 * jims
 */
package com.jims.master.modules.csm.entity;

import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * Entity
 * @author 系统管理员
 * @version 2017-03-15
 */
public class ExpDetails extends DataEntity<ExpDetails> {

    private static final long serialVersionUID = 1L;
    private String expCode;		// 消耗品代码
    private String expName;		// 消耗品名称
    private String expEName;		// 消耗品英文名称
    private String expInfoId;		// 消耗品信息ID
    private String packageSpec;		// 规格
    private String action;		// 消耗理作用
    private String indication;		// 适用症
    private String dosage;		// 用法用量
    private String form;		// 制剂
    private String pharmacokinetics;		// 消耗代动力学
    private String adverseReaction;		// 不良反应
    private String attention;		// 注意事项
    private String contraindication;		// 禁忌

    public ExpDetails() {
        super();
    }

    public ExpDetails(String id){
        super(id);
    }

    @Length(min=1, max=20, message="消耗品代码长度必须介于 1 和 20 之间")
    public String getExpCode() {
        return expCode;
    }

    public void setExpCode(String expCode) {
        this.expCode = expCode;
    }

    @Length(min=1, max=100, message="消耗品名称长度必须介于 1 和 100 之间")
    public String getExpName() {
        return expName;
    }

    public void setExpName(String expName) {
        this.expName = expName;
    }

    @Length(min=1, max=40, message="消耗品英文名称长度必须介于 1 和 40 之间")
    public String getExpEName() {
        return expEName;
    }

    public void setExpEName(String expEName) {
        this.expEName = expEName;
    }

    @Length(min=0, max=64, message="消耗品信息ID长度必须介于 0 和 64 之间")
    public String getExpInfoId() {
        return expInfoId;
    }

    public void setExpInfoId(String expInfoId) {
        this.expInfoId = expInfoId;
    }

    @Length(min=0, max=20, message="规格长度必须介于 0 和 20 之间")
    public String getPackageSpec() {
        return packageSpec;
    }

    public void setPackageSpec(String packageSpec) {
        this.packageSpec = packageSpec;
    }

    @Length(min=0, max=2000, message="消耗理作用长度必须介于 0 和 2000 之间")
    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    @Length(min=0, max=2000, message="适用症长度必须介于 0 和 2000 之间")
    public String getIndication() {
        return indication;
    }

    public void setIndication(String indication) {
        this.indication = indication;
    }

    @Length(min=0, max=2000, message="用法用量长度必须介于 0 和 2000 之间")
    public String getDosage() {
        return dosage;
    }

    public void setDosage(String dosage) {
        this.dosage = dosage;
    }

    @Length(min=0, max=2000, message="制剂长度必须介于 0 和 2000 之间")
    public String getForm() {
        return form;
    }

    public void setForm(String form) {
        this.form = form;
    }

    @Length(min=0, max=2000, message="消耗代动力学长度必须介于 0 和 2000 之间")
    public String getPharmacokinetics() {
        return pharmacokinetics;
    }

    public void setPharmacokinetics(String pharmacokinetics) {
        this.pharmacokinetics = pharmacokinetics;
    }

    @Length(min=0, max=2000, message="不良反应长度必须介于 0 和 2000 之间")
    public String getAdverseReaction() {
        return adverseReaction;
    }

    public void setAdverseReaction(String adverseReaction) {
        this.adverseReaction = adverseReaction;
    }

    @Length(min=0, max=2000, message="注意事项长度必须介于 0 和 2000 之间")
    public String getAttention() {
        return attention;
    }

    public void setAttention(String attention) {
        this.attention = attention;
    }

    @Length(min=0, max=2000, message="禁忌长度必须介于 0 和 2000 之间")
    public String getContraindication() {
        return contraindication;
    }

    public void setContraindication(String contraindication) {
        this.contraindication = contraindication;
    }

}